package com.mail.dubbo.api;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.mail.model.db.SmsFlashPromotionProductRelation;

import java.util.List;
import java.util.Map;

public interface SmsFlashPromotionProductRelationApi {
    void create(List<SmsFlashPromotionProductRelation> smsFlashPromotionProductRelation);

    void delete(Long id);

    Page list(SmsFlashPromotionProductRelation smsFlashPromotionProductRelation, Long pageNum, Long pageSize);

    void update(Long id, SmsFlashPromotionProductRelation relation);

    SmsFlashPromotionProductRelation getProductionMessage(Long id);

    List<Long> selectList(Long flashPromotionId);

	Integer getProductCount(Long flashPromotionId, Long id);
}
